/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.insta.calendarMicroBlogage;

import com.kx.insta.traitement.TwitterBean;
import g4p_controls.GWindow;
import processing.core.PApplet;

/**
 *
 * @author liban
 */
public class SceneInstagram extends CreateScene{
    
    private String renderer;
    private SecondApplet s;
    PFrame f;

    
    public SceneInstagram (String myName){
    setMyname(myName);
    this.social= new TwitterBean();
    }
    
    //Getters and Setters
    public String getRenderer() {
        return renderer;
    }

    public void setRenderer(String renderer) {
        this.renderer = renderer;
    }
    
    
    
    // Methode
    @Override
    public void setup() {
    }

    @Override
    public void draw() {
     //rect(PI, PI, PI, PI);
     }

    @Override
    public void createWindows(String witchWindow, boolean CloseWindow) {
       setCloseWindow(true);
       f = new PFrame(this.social);
    }

    @Override
    public void windowClosing(GWindow w) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
}
